<!--
<el-menu-item class="mc-el-menu-item" v-bind="$attrs" v-on="$listeners" @click.native="clickMe">
-->

<template>
  <el-menu-item class="mc-el-menu-item" v-bind="$attrs" v-on="$listeners">
    <mc-a class="mc-el-menu-item-a" :url="mcHref" :target="mcTarget"
          :mck1="mck1" :mck2="mck2" :mck3="mck3" :mck4="mck4" :mck5="mck5" :mck6="mck6" :mck7="mck7" :mck8="mck8" :mck9="mck9" :mck10="mck10"
          :mcv1="mcv1" :mcv2="mcv2" :mcv3="mcv3" :mcv4="mcv4" :mcv5="mcv5" :mcv6="mcv6" :mcv7="mcv7" :mcv8="mcv8" :mcv9="mcv9" :mcv10="mcv10"><slot></slot></mc-a>
  </el-menu-item>
</template>

<script>
import McA from "./McA.vue";
export default {
  name: 'mc-el-menu-item',
  props: ['index','mcHref','mcTarget','mck1','mcv1','mck2','mcv2','mck3','mcv3','mck4','mcv4','mck5','mcv5','mck6','mcv6','mck7','mcv7','mck8','mcv8','mck9','mcv9','mck10','mcv10'],
  components:{
    McA
  },
  /*如果父模板的edit-type disabled发生变化 就会重绘此组件*/
  computed:{

  },
  data () {
    return {
    }
  },
  mounted () {

  }
}
</script>

<style lang="scss">
  .mc-el-menu-item .mc-el-menu-item-a{
    display: block;
    text-decoration:none;
    color:unset;
  }
</style>
